package com.fengniu.ejb.entity;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.ManyToOne;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

@Entity
@Table(name = "Site2ContentTable", schema = "FENGNIU", uniqueConstraints = {})
public class Site2Content extends GeneRelation implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = -4540270649779475961L;

	@ManyToOne
	Site site;

	@ManyToOne
	Content content;

	@Temporal(value = TemporalType.TIMESTAMP)
	private Date lastVisitedDate;

	private Double listPrice = new Double(0);

	private Double memberPrice = new Double(0);

	private String siteContentImage1;

	private String siteContentImage2;

	private String siteContentImage3;

	public Content getContent() {
		return content;
	}

	public void setContent(Content content) {
		this.content = content;
	}

	public Date getLastVisitedDate() {
		return lastVisitedDate;
	}

	public void setLastVisitedDate(Date lastVisitedDate) {
		this.lastVisitedDate = lastVisitedDate;
	}

	public Double getListPrice() {
		return listPrice;
	}

	public void setListPrice(Double listPrice) {
		this.listPrice = listPrice;
	}

	public Double getMemberPrice() {
		return memberPrice;
	}

	public void setMemberPrice(Double memberPrice) {
		this.memberPrice = memberPrice;
	}

	public Site getSite() {
		return site;
	}

	public void setSite(Site site) {
		this.site = site;
	}

	public String getSiteContentImage1() {
		return siteContentImage1;
	}

	public void setSiteContentImage1(String siteContentImage1) {
		this.siteContentImage1 = siteContentImage1;
	}

	public String getSiteContentImage2() {
		return siteContentImage2;
	}

	public void setSiteContentImage2(String siteContentImage2) {
		this.siteContentImage2 = siteContentImage2;
	}

	public String getSiteContentImage3() {
		return siteContentImage3;
	}

	public void setSiteContentImage3(String siteContentImage3) {
		this.siteContentImage3 = siteContentImage3;
	}

}
